Open cvn001 opened 8 months ago
405 is expected and is a good sign that the service is started. The reason you see 405 is because you are using GET method to access it. Please use POST method. In addition, you can use the client we provided: https://github.com/hivdb/sierra-client/tree/master/python
On Sun, Mar 10, 2024 at 11:52 PM Xiangchen Li @.***> wrote:
Hi, followed by the readme intructions, I've managed to pull down the latest docker image to local IP address (172.30.10.31), then I ran the following code:
docker run -d --publish=8111:8080 hivdb/sierra dev
Then I tried to access the local Sierra web service via our local weblink ( http://172.30.10.31:8111/sierra/rest/graphql) but failed with # HTTP error code 405 - Method Not Allowed.
Does anyone know if there's anything wrong with my code or the local site. Thanks in advance!
— Reply to this email directly, view it on GitHub https://github.com/hivdb/sierra/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGFXCKNQRSH62SLAT2IF33YXVIEBAVCNFSM6AAAAABEPXF42OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TQMZWGAZTSNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, followed by the readme intructions, I've managed to pull down the latest docker image to local IP address (172.30.10.31), then I ran the following code:
Then I tried to access the local Sierra web service via our local weblink (http://172.30.10.31:8111/sierra/rest/graphql) but failed with # HTTP error code 405 - Method Not Allowed.
Does anyone know if there's anything wrong with my code or the local site. Thanks in advance!