I tried to test RESTful web service by posting query parameters, however, after I checked "Post QueryString" check box, no parameters were send out with request
Can someone please tell me what is wrong? BTW, I am using version 4.5.1
Thanks a lot
I can't be sure, but increasing the Size of Raw Request to Show setting (which defaults to 10000) may help.
See: File / Preferences / UI Settings / Size of Raw Request to Show.
I set it to 100000, now I can see the POST query parameters in Raw mode, too.
(Also, credit goes to SmartBear forum user olensmar.)
Related
We have found this bug in Api Manager that whenever you pass some similar words in the url its working properly even the url was not correct .
Example:
working url: {{Url}}/regulators
bad url but works with the same : {{Url}}/../auth/streams/../../regulators
Anybody encounter the same issue with your APIs?
Please see image below
Method GET is used to add form data to the URL in name or value pair. If you use GET, the length of URL will remain limited. It helps users to submit the bookmark the result. GET is better for the data which does not require any security or having images or word documents.
Also, this is used only to get the data from address bar in the browser.
We can check with below settings for API Responses:
Select the API you created in the previous step.
Select + Add Operation.
In the Frontend window, enter the following values.
Display Name(test call) : The name that is displayed in the developer portal.
URL(HTTP Verb) – GET : Select one of the predefined HTTP verbs.
URL (/test) : A URL path for API.
Description: Optional description of the operation, used to provide documentation in the developer portal to the developers using this API.
Select the Responses tab, located under the URL, Display name, and Description fields. Enter settings on this tab to define response status codes, content types, examples, and schemas.
Select + Add response, and select 200 OK from the list.
Under the Representations heading on the right, select + Add representation.
Enter application/json into the search box and select the application/json content type.
In the Sample text box, enter { "sampleField" : "test" }.
Select Save.
Refer to MS Docs to Monitor published API’s
Ok, so I am very much new to Soap UI and trying to test a REST webservice which returns an attachment(.docm) as a response. While running the service, I am getting the response in binary stream but not the attachment.
Infact in the response section -- Header tab, I can see the attachment name in content-disposition column (See the attached image) but attachment tab is empty.
Am I missing something ? Do I need to write any groovy script for the same ? Please suggest. Appreciate any help on this.
Ok, So I got the solution. Posting it here if someone else faces this issue.
There are some settings which need be enabled for the same.
I have added 1 more parameter in the Request details tab with the value as
Enable MTOM = true
Also, I have added the values in Dump file column under Test Request properties. See the screenshot attached.
:)
Hope it helps others as well. Cheers
Adding "Enable MTOM" as Header parameter in rest request and "Dump File" as Property parameter, it's works.
I'm trying to get PayPal Here to issue a callback to a FileMaker Go database. It looks like the fmp:// protocol is being used correctly, but seems that there may be some kind of other problem with the callback URL.
Here's the URL that I'm using to call PayPal Here (note that I'm not stripping out the carriage returns from the base64-encoded invoice in my application; this is the actual URL my application sends to the OS, and the invoice appears to be fine in PPH):
paypalhere://takePayment?as=b64&accepted=card%2Cpaypal&returnUrl=fmp:%2F%2F$%2Ffmg_pphTest&step=choosePayment&invoice=eyJwYXltZW50VGVybXMiOiJEdWVPblJlY2VpcHQiLCJkaXNjb3VudFBlcmNlbnQiOjAsImN1cnJl
bmN5Q29kZSI6IlVTRCIsInBheWVyRW1haWwiOiJjcmlzdG9zK3Rlc3RAY3Jpc3Rvc2xjLmNvbSIs
Iml0ZW1MaXN0Ijp7DQogICAgIml0ZW0iOiBbDQogICAgICAgIHsibmFtZSI6IkRpbGl0aGl1bSBD
cnlzdGFsIiwiZGVzY3JpcHRpb24iOiJNYWtlcyBzaGlwIGdvIGZhc3QuIiwidW5pdFByaWNlIjow
LjEsInF1YW50aXR5IjoxMCwidGF4UmF0ZSI6MCwidGF4TmFtZSI6IlRheCJ9DQogICAgXQ0KfX0=
This is the URL that I want to fire (this is just for testing; later on, there will be additional parameters added on to send the payment status, etc., but I can't even get this basic version to work yet):
fmp://$/fmg_pphTest
However, the behavior I'm seeing looks like this is the URL PPH is actually sending:
fmp://
Testing is being done on an iPad 2 running iOS 8.3. Any thoughts/suggestions out there?
A kind soul on the FileMaker Community boards pointed me at a working example, https://github.com/Genecom/FileMakerSampleSolutions. After doing some comparisons, I discovered the issue is due to using base64-encoding of the JSON invoice object. When I changed it to use URL-encoding of the JSON invoice (like the Genecom example), I was able to get the callback URL to work successfully.
I opened an issue on the PayPal Here github project, please feel free to chime in there if you've also experienced this issue (or found countervailing evidence): https://github.com/paypal/here-sideloader-api-samples/issues/26
I'm troubleshooting an issue where the Like button won't work on my site unless the URL is submitted to the Facebook debug tool.
When I hit like I'm seeing two requests fire to comment_widget_shell.php. Once succeeds (302 found), while the other fails, showing a status "(canceled)" and type "pending":
The successful request:
Request URL:http://www.facebook.com/plugins/comment_widget_shell.php?locale=en_US&master_frame_name=f236db264&offsetX=0&sdk=joey
Request Method:GET
Status Code:302 Found
The failed request:
Request URL:https://www.facebook.com/plugins/comment_widget_shell.php?locale=en_US&master_frame_name=f236db264&offsetX=0&sdk=joey
As of the writing of this question, here is an example URL where like fails:
http://www.zujava.com/geisha-makeup
I iniitally thought it was this Stack Overflow issue, as the site runs on a platform somewhat similar to Heroku, but for Drupal (Pantheon) and I can't reproduce the issue locally. However, I contacted Pantheon support and they reported the Heroku limitation does not exist on Pantheon.
I'm not sure what other tools I can use to debug this. My article pages get a clean report from the Facebook Debugger. Any ideas or tips of what I can look deeper into?
I have had pretty good luck with pantheon. If your just trying to get a like button on drupal why not use http://drupal.org/project/fb_social/ I have used this in d7 and d6 and I have never had a problem.
Pantheon should be able to handle a request to facebook for sure
thanks
Nick
Hello and thanks in advance. Before to post here i search a lot in the net and here as well.
I have a site that let the user join with their facebook profile so with their permission (FB application) the web will download their main photo.
I used this script server side with classic ASP (and i must use ASP) to download the main photo and in random cases it through an error: msxml3.dll The parameter is incorrect.
''DownloadURL is the url pf the photo
''example "http://profile.ak.fbcdn.net/xxxxxxxxxxxxxx.....xxxxxx.jpg"
Dim objXML
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
objXML.Open "GET", DownloadURL , true ' <-- this line get the error sometimes
objXML.Send
'.... code to handle the request
' and save photo using ADODB.Stream
But if i try on my workstation the same photo url to reproduce the error, damn this work fine so i cant check what is the problem.
I use Windows 2008 server SE SP2 and IIS7
my questions are:
Is MSXML2.ServerXMLHTTP obsolete ?
what more do i need to know ?
is this related to the client browser (example IE) ?
Any suggestions or tips that i can receive from the gurus here ?
Thanks in advance for this help
The first thing I would suggest that is likely causing a lot of your problems is to not use the profile.ak.fbcdn.net url. That url is not necessarily constant. I would suggest using the supported url of http://graph.facebook.com/facebookid/photo where facebookid is the id of the user who's photo you are downloading.
Regarding the use of MSXML2.ServerXMLHTTP I haven't used that stuff in ages, but it seems like that object probably isn't the best for downloading an image file. Check out this discussion that may be relevant: http://www.daniweb.com/forums/thread153966.html