zandoan / turing-frontend

41 stars 33 forks source link

orders(create order) api is not responding. throws timeout after a while #40

Closed NihaalAftab closed 5 years ago

NihaalAftab commented 5 years ago

When sending post to create order with the required payload.. it keeps of engaging the reques and throws this after a while. below is the output i am having.

504 Gateway Time-out

504 Gateway Time-out


nginx/1.10.3 (Ubuntu)

to populate, below is the curl if that helps..

curl -X POST "https://backendapi.turing.com/orders" -H "accept: application/json" -H "USER-KEY: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21lcl9pZCI6NjI0NjAsIm5hbWUiOiJ0ZXN0Z3V5MSIsInJvbGUiOiJjdXN0b21lciIsImlhdCI6MTU2NTgyNjEwMiwiZXhwIjoxNTY1OTEyNTAyfQ.z56swVq2yCMLCrY8gdBCY93wC7NZzlt3ySAol4wzQJM" -H "Content-Type: application/x-www-form-urlencoded" -d "cart_id=1xh7q2ze08jzcqrxrr&shipping_id=2&tax_id=1"