cancel
Showing results for 
Search instead for 
Did you mean: 

REST Post Trying To Send a CSV File

steven_rossi
New Contributor II

restful_post_example.docx (314.4 KB)

Hello Everyone. I am brand new to SnapLogic as well as brand new to RESTful API’s so please bear with me and not make fun of me too much. 🙂

I attached a document to help visualize what I am trying to do. I am just trying to do a proof of concept for a project using the REST Post snap to upload a CSV file but I cant get it to work and I was wondering if someone might be able to help point me in the right direction.

Thanks in advance for your kind help!

Steve

7 REPLIES 7

steven_rossi
New Contributor II

Better picture of JSON Formatter:

image

@steven_rossi, Rest snap should provide you JSON as output document. Can you try validate your pipeline with “Execute during preview” option enabled on Rest Snap properties.

steven_rossi
New Contributor II

Good Morning @psadasivam. So I turned that check box on and ran it and it appears to be going through correctly as I am getting a 200 status. Whats interesting is it appears to be passing in my own information rather that the one that is in the file I am trying to load. What am I missing?

image