1
0
mirror of https://github.com/actix/examples synced 2024-12-04 02:32:12 +01:00
examples/cors/backend
2023-04-06 11:11:44 +01:00
..
src Use captured args in format string (#558) 2022-06-08 03:53:38 +01:00
Cargo.toml move serde deps to workspace 2023-01-02 20:35:11 +00:00
README.md doc: add README.md into cors/backend (#618) 2023-04-06 11:11:44 +01:00

actix_cors::Cors

Running Server

cd cors/backend
cargo run
# starting HTTP server at http://localhost:8080

web client

  • http://localhost:8080/user/info
    // payload structure
    {
      "username": "username",
      "email": "email",
      "password": "password",
      "confirm_password": "password"
    }
    

Others