Can I use Django debug toolbar with Postman - postman

I'm using postman for APIs request
Now I want to check that if there's any N+1 query on my API
I've installed Django Debug Toolbar through this guide https://django-debug-toolbar.readthedocs.io/en/latest/installation.html but don't know how to trigger the panel on API call through Postman, my backend server run on docker port 8000
Thank you for your advance

Related

Deploying web application to Web Logic in localhost, how do I call the app via postman?

Right now, I have deployment that is supposed to call web service externally on localhost:7001. I know in my body I will add the xml containing the service I need along with username/password for credentials. But actually calling my web app, I'm not sure how to get the endpoint URL.
You can check endpoint in Weblogic Admin Console

Shopify app showing request blocked by an extension

I have deployed my nodejs app on aws ec2 and its working fine while I am using it on the browser normally. But when I am accessing it from inside my Shopify app then it is showing that the request has been blocked by an extension.
I tried to access it in incognito mode also but got the same result.
Can someone please help.
Shopify blocks all http requests. You may want to check if you are loading any URL in http
Update -
AWS provides secure URLs. Find it and use it instead!

WSO2 API Manager : API Creation Issue

I installed the APIM and started the APIM and created a new API. The ApI which i created comprises of a URL which points at our company production server. I gave the URL in the api creation mode to the production endpoint and sandbox Endpoint boxes. Then i set the required parameters under the GET method. Then i try it out at the store but the request does not hit the production server. I want to see the URL output from your api manager which passes to our production server. Because i want to see what is whether there is an error on that as it it doesnot hit our production server.
Can you help me with the issue?
Thanks in advance.
You can enable wire log to see the what are the requests which came to APIM and what are the requests APIM made for backend. Follow the steps in How to get wire logs from WSO2 ESB blog post to enable wire log. Those instructions are given for ESB, but they are valid for APIM as well.

Sitecore Web Item API 404

I have upgraded a Sitecore to SC7.2. When I open the media browser I can't explore the media items because I am getting a 404 from the Web Item API. The configs seem correct but I am wondering if files/items didn't get installed.
The URL being requested is:
http://{domain}/-/item/v1/sitecore/shell?sc_itemid=%7B3D6658D8-A0BF-4E75-B3E2-D050FABCF4E1%7D&scope=c&sc_database=master&language=en&fields=__Hidden
Has anyone seen this before? Anyone know how I can check if the Web Item Api was installed correctly?
In order to check whether Item Web API is enabled or not.
1) Download Fiddler
2) Enter Query: http://sc8/-/item/v1/?scope=c&sc_database=master&query=/sitecore/content
[Note: sc8 will be replaced by your sitecore instance name]
3) If you have enabled Standard Security in Sitecore Item Web API -- Enter Login Credentials and Click Execute.
You will get the JSON response:
If you are getting the JSON response -- Your Sitecore Item Web API is enabled.
This was caused by a custom site resolver in the HttpBeginRequest pipeline that had been added as part of support fix.

POST request working on localhost but not on azure

I am new to microsoft azure, but good with web api.
I have created web api services, and able to test it from postman tool when it is on localhost.
Now I have uploaded my services on azure and now I am not able to call it from postman tool.
Azure url: not working
http://******.azurewebsites.net/api/account/signIn
body
userName and password... both are string
localhost url: working
http://localhost:62676/api/account/signIn
body
userName and password... both are string
What do I need to change in services ? Please suggest.
I suggest you to enable debugging mode for your web api service in Azure to see the detailed error message and stacktrace for troubleshooting.
Alternatively, you can also enable Remote Debugging for your web api and set the necessary breakpoint to debug through your web api in Azure.