Questions tagged [dhc]

DHC by Restlet is designed and developed by developers for developers to make direct HTTP/REST resource discovery, manipulation and automated API testing easier.

13 questions
7
votes
2 answers

javax.net.ssl, https clients and close_notify

Simple Netty implementation of https server utilizing javax.net.ssl, with a self-signed certificate. Server is up, and then a request is made using DHC by Restlet. On the server side I get: io.netty.handler.ssl.SslHandler setHandshakeFailure …
matanster
  • 15,072
  • 19
  • 88
  • 167
5
votes
5 answers

Post Method using Volley not working

Hi i am using Volley for my login page. I need to pass data like this manner { userID : '-988682425884628921', email :'aditya@vyas.com', passwd : '123ss' } I am using POST Method to send data,I already check in DHC, The Api is working fine in DHC…
Aditya Vyas-Lakhan
  • 13,409
  • 16
  • 61
  • 96
5
votes
1 answer

Cannot access previous response in repository with DHC

I use DHC by Reslet a Chrome extension, version 1.2. When I create a first POST request to create an entity If I want to access to this request in a another request (repository feature) I cannot access the response. I have the same problem with…
Sbert
  • 111
  • 2
5
votes
5 answers

Is there a way to get HTTP status code name using JS and AngularJS?

I have an AngularJS, JS, JQ, HTML5, CSS3 web app. It is suposed to send different HTTP methods to REST API of our projects and manipulate them. It has similar behavior to DHC by Restlet (formerly Dev HTTP Client). Every request returns a status code…
amenoire
  • 1,892
  • 6
  • 21
  • 34
2
votes
0 answers

Chrome DHC - Crashes trying load previous run query?

I've been using DHC for awhile now. And I've noticed that my previous run queries take a long time to load, and the latest query crashes DHC each time I try to open it. I'm confused as to why its taking so long, its like its trying to run the query…
Carl Prothman
  • 1,461
  • 13
  • 23
2
votes
2 answers

Image upload from HTTP Client to C# Web Api

I am trying to upload an image from (DHC by Restlet) to my C# API. In the future I want to call this API from an Android or iPhone App, but I figured that I need this part working before implementing it on any such device. This C# code is put in my…
Eyeball
  • 3,267
  • 2
  • 26
  • 50
1
vote
1 answer

How do I convert a SOAP Envelop into JSON?

I'm trying to convert this SOAP Envelop into a http POST Request to send via DHC Restlet (or any other engine). Soap Envelop
Machado
  • 14,105
  • 13
  • 56
  • 97
1
vote
1 answer

Store information on client using AngularJS

I am working on an app, similar to DHC by Restlet . I would like to be able to store headers (which are inputed by user, just like in Dev HTTP Client) in a cookie or something similar to have the possibility to "remember" which headers were inputed…
amenoire
  • 1,892
  • 6
  • 21
  • 34
1
vote
1 answer

Does PHP reads cookie from the header?

A client points out there may be a security issue with my WordPress page - what he did is to delete the cookies set by WordPress in the request header, and see if he could access the protected areas. He could. So to replicate the problem, I did a…
Extrakun
  • 19,057
  • 21
  • 82
  • 129
0
votes
0 answers

Simple post request with DHC

I have a page with just :
WWWWWWWWWP
  • 35
  • 1
  • 6
0
votes
1 answer

API test on DHC id show null

when I test my rest API in DHC chrome extension, it shows on post method id is null. what will be reason for this? please suggest a solution. { "status": "200", "id": null, "email_exists": false }
Anks
  • 7
  • 5
0
votes
1 answer

POST through SoapUI is unsuccessful, but the same request through DHC is completed successfully

I tested REST services with DHC application for Chrome, and POST requests were successful with these parameters: DHC_successful_POST But when I try to create the same request in SoapUI, I always get 500 error. Probably, there should be some other…
0
votes
2 answers

Different HttpStatusCode for different clients in Nancy

After navigate to http://localhost:57645 code below returns 200 (OK) for DHC by Restlet and 500 (InternalServerError) for "Chrome Browser". public class SampleModule : Nancy.NancyModule { public SampleModule() { Get["/"] = _ => …
user2217261
  • 455
  • 7
  • 18