Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4491 มุมมอง

Im doing a json request with the following command on my terminal

curl -i X POST -H "content-type: application/json" -d"{}" localhost:8069/myaddon/objects/json/

And I get the desired info, but when I try to do the same request having two databases on my odoo installation  I get a 404 because odoo can't solve what db I want to use, so I've consulted in a Manual about that and suggest to use the option

--db-filter="^yourdatabasename$"

But when i add that option to my first code curl shows the following

curl : option --db-filter="^mydbname$"

I've checked the name of the db, so I don't know if the option still exists or I have to use other option to solve that problem.


Best regards.


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
มี.ค. 25
42222
1
ก.ค. 25
8354
1
ก.ค. 17
5770
1
ก.ย. 20
6439
6
ก.ค. 20
11672