Rest Client for Firefox – Sample POST Request

I was having fits getting the REST Client for Firefox to let me create a post body where PHP would recognize the parameters I was trying to post. I added them to the “request body” but my REST server wasn’t showing that I was even posting anything.

I found out that you have to set the “request header” section of the Firefox plugin to have a “name” = “Content-Type” and “value” = “application/x-www-form-urlencoded”. Then I was able to put something like “name=themayesfamily” in the “request body” and my server found a post variable with called “name” with the value I’d set.

Hope this helps some others.

File Dialog Popup EclipsePHP

Eclipse PHP was giving me fits. Every time I switched between tabs of files the file open/save dialog kept popping up. I tried to change file associations since I thought that was the problem but the issue remained.

I couldn’t find any posts on the web and then finally I found one. It said something about stopping Eclipse from doing previews. I searched through the options and couldn’t find anything right away. I finally followed:

Window (menu option) -> PHPEclipse Web Development -> “Browser Preview Default”.

Un-Check both of the options. After that the pop up went away.

Hope it works for someone else.