Cancel Orders API returning html login page

New Member
1 0 0

I am making the following post request https://{api username}:{api password}{order id}/cancel.json

I am making the request on the postman native app, I have cleared all cookies and the request is still returning the login html. I know that my credentials are working because I am making the same request in a python script and it is working, the reason why that the python request doesn't help me is because I want to make the request on a iOS swift app.