How can we make an http request in postman to add pin to the pinterest board. I have my board name and board Id. I have to attach image to this board. Please guide me through this!
Related
When I try to create a transfer order from postman with the post request.
enter image description here
I get this error. Can anyone help to resolve?
enter image description here
I need to add a node to Backoffice and display a screen with API response details. I have a Node1 and three child nodes, node1.1,node1.2 and node1,3. If the user clicks on node1.1 he should be able to see a screen with three sections where fields are loaded from API response. Attached is the image for reference. Please help in this. Also these fields must change with Success or Error response and connection test.
I'm new to clover to if this seems elementary I apologize.
I logged into my merchant account and created an api_token. Got my mID from drop down menu on the top right. I try to do a simple request in postman like this
https://api.clover.com/v3/merchants/{mID}/items
and the response I am getting back is this
{ "message": "401 Unauthorized"}
I made sure the user token I created has the correct priviledges already and it does.
I am NOT trying to create a public app for everyone to use. I am trying to create a private script that simply syncs MY clover inventory, back to my ecommerce site.
I don't understand the purpose of being able to generate an access token in your dashboard if they are going to make you create an app
What am I doing wrong?
I have had trouble with Clover too, when I was getting that 401 error it was because I was using the wrong merchant id.
In the image I have attached below initially I was using the mId that is shown under the blue box here. But, I found that the one I really needed to use for the mId is the text under the red box. It's a 13 character string, in my example abc123456789a.
In postman a get request to get merchant information for me worked correctly like this:
https://apisandbox.dev.clover.com/v3/merchants/{mId}
I provided headers:
Authorization: Bearer {access_token}
Content-Type: application/json
I hope this can assist you in some way!
I'm developing a desktop app connected to a website. I store the user profile images in the file system of a web server so I can reach them from the URL, the problem is that I don't want that someone can access the images from any web browser like chrome.
Is there a way in which I can access the images through the URL and display them in my desktop app (built with qt) but also prevent accessing these images from a regular web browser.
The desktop app user is incapable of seeing the URL from the image tough.
you can encrypt image , so that only you (your application) can see the decryption key. after geting encrypted image, decrypt it and show. in this case even if someone get the image, hi/she will get only encrypted content
You can do basic authorization of image request(send some secret token in url and compare it on back end)
Another way is to handle with small webpage in your webserver.
Request the web page for image.
While requesting send User-Agent information to the webpage.
Based on the User-Agent you can send the response back from webpage.
Consider below example:
QNetworkRequest request;
request.setUrl(QUrl("YOUR IMAGE URL"));
request.setRawHeader("User-Agent", "YOUR APP NAME/1.0");
In the webpage validate "YOUR APP NAME" and send valid response.
use QNetworkReply to get the response.
In this way the you can completely shield your images directory in web server.
How to post an image to friend's facebook wall through graph api?If anybody suceed please send the web reuest or graph url.Here is my graph url.
https://graph.facebook.com/Pageid/feed?access_token=application_access_token&method=post&picture=http://www.Google.es/images/srpr/nav_logo39.png&message=logo
It is working fine ,image get posted on the page.But when I am trying to give url of image (that stored on my desktop)logic get fails.Here is it's url.
https://graph.facebook.com/Pageid/feed?access_token=application_access_token&method=post&picture=D:/foldername/Cimage.jpg&message=Waterfall.
I can't directly put all image that user upload to my server and then post to facebook.I wanted user to directly post an image to facebook wall not through my server (I don't want any image that hosted somewhere I wanted to use the image that get stored on harddisk.)