Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
people:sevcik [2019/02/19 12:30]
admin
people:sevcik [2020/06/08 23:10] (current)
admin
Line 4: Line 4:
  
  
-ahoj555ahoj 
-Ui8zFhFF8rXuqXfJ 
  
 <code bash> <code bash>
Line 88: Line 86:
 \\ \\
  
-Heslo do virsh console testing: ​ahoj555ahoj, login root+Heslo do virsh console testing: ​ahoj......, login root
  
  
Line 148: Line 146:
  
  
-=1= +
-==2== +
-===3=== +
-====4==== +
-=====5===== +
-======6====== +
-=======7=======+
  
 ====6.11.==== ====6.11.====
Line 218: Line 210:
 <​code>​ <​code>​
 fail2ban-client set sshd unbanip 88.198.64.144 fail2ban-client set sshd unbanip 88.198.64.144
 +supervisorctl restart ...
 +virsh -c qemu:///​system list
 </​code>​ </​code>​
 +
 +
 +=====Curl requests format=====
 +curl --header "​Content-Type:​ application/​json"​ --request POST --data '{ "​amount":​ "​512",​ "​ico":​ null,"​dic":​ "","​account_no":​ "​666","​bank_no":​ "​4200",​ "​invoice_items":​ []}' --user uziv:​aho...... http://​127.0.0.1:​8000/​api/​out_invoice/​
 +
 +
 +curl -X POST -F '​amount=1024'​ -F '​invoice_items=[]'​ -F '​note=Curl test-form'​ -F '​picture_pro_forma=@/​srv/​fakturace2/​fakturace2/​invoice_pictures/​2019-61667812_5cO24If.pdf'​ --user uziv:​aho...... http://​127.0.0.1:​8000/​api/​incoming_invoices/​
 +
 +GET /​api/​incoming_invoices/?​company_id=4bd3f127-9700-46d4-868a-a467e2e34042
 +
 
people/sevcik.1550575812.txt.gz · Last modified: 2019/02/19 12:30 by admin