getGuideDetails is a HTTP GET request which returns details for a specific guide. This should be used when a user is interested in a specific guide and wants to see important details in order to contact him.
updateGuide is HTTP POST request which can do multiple operations.
The operations a user can do:
ADD guideRequest examplehttp://localhost:8095/updateGuide
and the body which is application/json
{
"city": "bucharest",
"name": "John Doe",
"md5KeyGuide": "--------",
"timeStamp": "3 Jun 2008 11:05",
"description": "I am a local and I want to offer free tours.",
"email": "john.doe@gmail.com",
"phone": "+40711111111"
"gid": 0,
"operation": "add"
}
REMOVE quideRequest examplehttp://localhost:8095/updateGuide
and the body which is application/json
This module will implement the logic and the necessary requests between client and server modules for the guide module.
In the guide module, users can choose between two options:
Guide
Request example
http://localhost:8095/getGuides?city=<city-name>&md5Key=<valid-md5-key>
Request example
http://localhost:8095/geGuideDetails?city=<city-name>&gid=<guide-id>&md5Key=<valid-md5-key>
The operations a user can do:
http://localhost:8095/updateGuide
and the body which isapplication/json
http://localhost:8095/updateGuide
and the body which isapplication/json
http://localhost:8095/updateQuestion
and the body which isapplication/json
http://localhost:8095/updateQuestion
and the body which isapplication/json
http://localhost:8095/updateQuestion
and the body which isapplication/json
http://localhost:8095/updateQuestion
and the body which isapplication/json
http://localhost:8095/updateQuestion
and the body which isapplication/json