cancel
Showing results for 
Search instead for 
Did you mean: 

How to omit parameters in a REST request

SOLVED
Frequent Contributor

Re: How to omit parameters in a REST request

errormessage.png

 

So the script is working but still an error message....

Community Hero

Re: How to omit parameters in a REST request

Can you show the project level custom properties, please?


Regards,
Rao.
Frequent Contributor

Re: How to omit parameters in a REST request

there's only 'Language'. Nothing more

Community Hero

Re: How to omit parameters in a REST request

I bet, you have not read the reply properly. I would request you to read the answer carefully and try.

 

Thank you.



Regards,
Rao.
Frequent Contributor

Re: How to omit parameters in a REST request

customprop.png

Community Hero

Re: How to omit parameters in a REST request

Please re-read and follow actual answer


Regards,
Rao.
Community Hero

Re: How to omit parameters in a REST request

Hi @AboveAndBeyond 

 

As @nmrao  said - if you step through his instructions line by line - you'll get it - it's all there in the instructions - I made a similar mistake a week ago when I didn't notice that a snippet Rao had given me was a script assertion and not a groovy script - despite him stating it several times.

 

I think you're missing things from the instructions cos you're rushing, I understand it's pretty new to you, so you need to take it slowly rather than rush, cos you're missing essential points.  This only works if you tick all the boxes, miss anything out and it won't work. 

So in regards to the instructions - read the line, understand the line, apply the line's instuctions and move onto the next line in the instructions.

 

If there's a point you don't understand in the instructions then come back with specific questions referencing the part you are struggling with.

 

Hope this helps,

 

richie

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the title of the post to something more descriptive? This will help people when searching for problems.
Frequent Contributor

Re: How to omit parameters in a REST request

my answer/question is spam???????

Community Hero

Re: How to omit parameters in a REST request

@AboveAndBeyond 

 

I was asking to refer my earlier reply (earlier do not know how point to that reply, now showing that below) and follow the instructions as is. And post the details of issue such as log or screen shot if it does not work.

 

Selection_031.png

 



Regards,
Rao.
Frequent Contributor

Re: How to omit parameters in a REST request

I'm going one more time try to answer (as my previous answers were seen as spam)

As @richie said, I have indeed misunderstood 1 step and it's absolutely not my intend to be rude or unrespectfull! I DO understand that you're helping us out of free will, so thanks for that and thank you for your time! I really mean this.

 

@nmrao  I have re-read all the posts and yes, it's not always clear to me to what you are referring to. That's why I'm taking the last answer you're giving me and I'm replying to that.

Nevertheless I have indeed re-read the post that you have copied now and did it step by step as Richie said. this step is not clear to me:

"

Define a custom property at Project level for the service host and post details

Property name as SERVICE_HOST_PORT and value as http://localhost:8080 (or what ever)"

 

What I've done now, is going to tab 'Project', create a new webservice that's called SERVICE_HOST_PORT 

and I added an Endpoint on it.

What I don't understand is "Property name as SERVICE_HOST_PORT "

I can't see Property name anywhere

propertynama.pngShoud I click on something else? Should I highlet the node 'get' and add in the "Method Properties" the value "SERVICE_HOST_PORT" ?

Please advice on this.

 

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors