A method of RESTful service design based on spring MVC
A design method and server technology, applied in transmission systems, electrical components, etc., can solve problems such as service invocation and message parsing troubles, and achieve the effect of convenient service invocation, clear service interface, and reduced difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0036] 1. Assuming that the service requester's interface entry URL is http: / / www.changhong.com / api, the user wants to call the currently available channel list, and the service definition of this interface is channel
[0037] The required system parameters are:
[0038] appkeyId: ID of the caller
[0039] method: the name of the method to call
[0040] format: result return format: xml / json
[0041] Service parameters:
[0042] channelId: the corresponding channel ID, 0 means all channels
[0043] The system will obtain the parameter sequence according to the system parameters and user parameters:
[0044] System parameters: appkeyId=123&method=getAvailableChannel&format=json
[0045] Service parameter: channelId=0
[0046] 2. According to the transmission parameters of the above services, the service processing center invokes the security control module, performs SHA1 signature calculation on the request string, and converts the signature value into a hexadecimal code ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More