1. job_favorite
DevTest BackEnd
  • user
    • register user
      POST
    • get all users
      GET
    • get user
      GET
  • company
    • register company
      POST
    • get company
      GET
    • get all company
      GET
  • job
    • add job
      POST
    • get all jobs
      GET
    • get job by id
      GET
  • application
    • apply
      POST
  • auth
    • user
      • reset password
      • auth - login user
      • redefinir password
    • company
      • redefinir password
      • reset password
      • auth - login company
  • job_favorite
    • add job in favoites
      POST
    • get jobs favorites
      GET
  • /Api
    GET
  • Schemas
    • user
    • job
    • company
  1. job_favorite

add job in favoites

Developing
Develop Env
http://localhost:5000/api
Develop Env
http://localhost:5000/api
POST
/favorite/add

Request

Body Params application/json

Example
{
    "idUser": "237f02be-8153-4af4-b53c-f135483363de",
    "idJob": "afc7f4fa-ac2c-4d2a-a038-aed0b616d62c"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:5000/api/favorite/add' \
--header 'Content-Type: application/json' \
--data '{
    "idUser": "237f02be-8153-4af4-b53c-f135483363de",
    "idJob": "afc7f4fa-ac2c-4d2a-a038-aed0b616d62c"
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Examples
{"success":false,"message":"user not existed"}
🟠404Record Not Found
Modified at 2024-11-12 09:41:49
Previous
auth - login company
Next
get jobs favorites
Built with