POSTed to an api endpoint
                  
                  
                  I got one to post files and another to post JSON.
                  
                  
                  But one posted to 
                  
                  
                  foo.bar/api_endpoint
                  
                  
                  and another to 
                  
                  
                  foo.bar/barfoo/api_endpoint2
                  
                  
                  which is incorrect, the correct one is:
                  
                  
                  foo.bar/api_endpoint2
                  
                  
                  
                  
                  
                  i don't know how but without modifying code it started to point to the correct one. 
                  
                  
                  Do you have any plausible explanation for this?
                  
                  
                
Looks strange. Please check if there's some asynchronous function modifying the api endpoint value
race condition?
Обсуждают сегодня